package com.todo.server.DAO.action.model;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.todo.orm.action.Action;

public interface ActionDAOAsync {
	public void addAction(Action action, AsyncCallback<Void> callback);
	public void updateAction(Action action, AsyncCallback<Void> callback);
	public void deleteAction(Action action, AsyncCallback<Void> callback);
	public void getActionById(int id, AsyncCallback<Action> callback);
	public void getAllActions(AsyncCallback<List<Action>> callback);

}
